package controllers

import (
	"beego_benchu/consts"

	"github.com/beego/beego/v2/server/web"
)

type DefaultController struct {
	web.Controller
}

func (this *DefaultController) GetDefault() {
	this.Data["json"] = consts.ResultsStruct{
		Code: "200",
		Msg:  "ok",
		Data: "{}",
	}
	this.ServeJSON()
}
